﻿<UserControl x:Class="TimeSplicerModule.Views.ServicesView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300"
             Width="700"
             Height="600">
    
    <Grid VerticalAlignment="Top" HorizontalAlignment="Left">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="650" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="50" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        
        <!-- Just need a start stop and message for the task cheduler service -->
        <Border Grid.Column="0" Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Center">
            <TextBlock Text="Developer Service" />
        </Border>
        
        <Grid Grid.Column="0" Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition />
                <ColumnDefinition />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition />
            </Grid.RowDefinitions>
            
            <!-- Task Scheduler Service -->
            <Border Grid.Column="0" Grid.Row="0" Width="150" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="5">
                <TextBlock Text="Task Scheduler Service:" />
            </Border>
            
            <Border Grid.Column="1" Grid.Row="0" Width="150" Height="35" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5">
                <Button Name="taskScheduleButton" Content="START" Click="taskScheduleButton_Click" />
            </Border>
            
            <Border Grid.Column="2" Grid.Row="0" Width="150" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="5">
                <TextBlock Name="taskSchedulerMessage" Text="Stopped" />
            </Border>
        </Grid>
    </Grid>
</UserControl>
